
package com.google.earth.kml;

import java.util.ArrayList;
import java.util.List;

/** 
 * Schema fragment(s) for this class:
 * <pre>
 * &lt;xs:complexType xmlns:ns="http://earth.google.com/kml/2.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" final="#all" name="PolygonType">
 *   &lt;xs:complexContent>
 *     &lt;xs:extension base="ns:GeometryType">
 *       &lt;xs:sequence>
 *         &lt;xs:group ref="ns:geometryElements"/>
 *         &lt;xs:element type="ns:boundaryType" name="outerBoundaryIs" minOccurs="0"/>
 *         &lt;xs:element type="ns:boundaryType" name="innerBoundaryIs" minOccurs="0" maxOccurs="unbounded"/>
 *       &lt;/xs:sequence>
 *     &lt;/xs:extension>
 *   &lt;/xs:complexContent>
 * &lt;/xs:complexType>
 * </pre>
 */
public class PolygonType extends GeometryType
{
    private GeometryElements geometryElements;
    private BoundaryType outerBoundaryIs;
    private List<BoundaryType> innerBoundaryIList = new ArrayList<BoundaryType>();

    /** 
     * Get the 'geometryElements' group value.
     * 
     * @return value
     */
    public GeometryElements getGeometryElements() {
        return geometryElements;
    }

    /** 
     * Set the 'geometryElements' group value.
     * 
     * @param geometryElements
     */
    public void setGeometryElements(GeometryElements geometryElements) {
        this.geometryElements = geometryElements;
    }

    /** 
     * Get the 'outerBoundaryIs' element value.
     * 
     * @return value
     */
    public BoundaryType getOuterBoundaryIs() {
        return outerBoundaryIs;
    }

    /** 
     * Set the 'outerBoundaryIs' element value.
     * 
     * @param outerBoundaryIs
     */
    public void setOuterBoundaryIs(BoundaryType outerBoundaryIs) {
        this.outerBoundaryIs = outerBoundaryIs;
    }

    /** 
     * Get the list of 'innerBoundaryIs' element items.
     * 
     * @return list
     */
    public List<BoundaryType> getInnerBoundaryIList() {
        return innerBoundaryIList;
    }

    /** 
     * Set the list of 'innerBoundaryIs' element items.
     * 
     * @param list
     */
    public void setInnerBoundaryIList(List<BoundaryType> list) {
        innerBoundaryIList = list;
    }
}
